package com.jy.modules.cims.data.interact.core.loan.request;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.validation.annotation.Validated;

@Validated
public class RequestCreditRedemptionDTO {

	@NotBlank(message="债权转让编号creditId不能为空")
	private String creditId;
	
	@NotNull(message="结清日期deliveryDate不能为空")
	private Date deliveryDate;
	
	@NotBlank(message="合同编号contractNo不能为空")
	private String contractNo;

	public String getContractNo() {
		return contractNo;
	}
	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}
	public String getCreditId() {
		return creditId;
	}
	public void setCreditId(String creditId) {
		this.creditId = creditId;
	}
	public Date getDeliveryDate() {
		return deliveryDate;
	}
	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}
	 
}
